package qx.app.freight.qxappfreight.bean.response;

import java.util.List;

import lombok.Data;
import qx.app.freight.qxappfreight.bean.request.InWaybillRecordSubmitNewEntity;

/**
 * Created by zzq On 2020/7/6 15:54 & Copyright (C), 青霄科技
 *
 * @文档说明: 单票快提返回结果
 */
@Data
public class WaybillQuickGetBean {
    /**
     * status : 200
     * message : 正确
     * rowCount : null
     * data : {"cargo":{"id":"57f50330ef61084c67a18e398e29a262","waybillCode":"112-57408164","indicator":"D","flightNo":"MU5233","flightInfoId":"36c1b92d8d1c4dd7a1f0a819c53d05af","flightId":14297038,"mailType":"C","documentDelivery":0,"totalNumber":12,"totalWeight":12,"specialCode":"AVI","commodityName":"苹果","consignee":"速尔快递有限公司","consigneePhone":null,"consigneeCarid":null,"freightId":null,"freightCode":null,"freightName":null,"freightPhone":null,"priority":0,"buckleGoods":0,"transit":0,"refrigerated":0,"precious":0,"living":0,"quick":0,"devanning":0,"originatingStation":null,"originatingStationCn":"太原","destinationStation":null,"destinationStationCn":null,"route":"太原-成都","manifestTotal":0,"allManifestTotal":0,"manifestWeight":0,"allManifestWeight":0,"warehouseArea":"602a525a9124f06a5c0841c04a104c5f","warehouseAreaType":"CTU_GARGO_STORAGE_TYPE_001","warehouseLocation":"0","putStorageTime":1594021592905,"putStorageUser":"u7b4c0e35127648e29ef3aaed649361cb","outStorageTime":null,"outStorageUser":null,"tallyingTotal":12,"allTallyingTotal":0,"tallyingWeight":12,"allTallyingWeight":0,"waybillStatus":0,"waybillCodeScanUrl":null,"commodityScanUrl":null,"waybillScanUrl":null,"createTime":1594019757160,"createUser":"u7b4c0e35127648e29ef3aaed649361cb","createUserName":"谢帅","updateTime":1594021592908,"updateUser":"u7b4c0e35127648e29ef3aaed649361cb","returnOutTransportFlag":0,"counterUbnormalGoodsList":[],"waybills":[],"amountOfMoney":0,"delFlag":0,"paWaybillId":"f2d9f6661e6112ea3e3e5ba4cff0ad60","masterWaybill":{"id":"f2d9f6661e6112ea3e3e5ba4cff0ad60","waybillCode":"112-57408164","indicator":"D","flightNo":"MU5233","flightInfoId":"36c1b92d8d1c4dd7a1f0a819c53d05af","flightId":14297038,"mailType":"C","documentDelivery":1,"totalNumber":12,"totalWeight":12,"chargeableWeight":12,"specialCode":"AVI","commodityName":"苹果","commodityIds":"[\"8183e094-f2d3-4625-b0ce-d3c97233d4cb\"]","commodityNameJson":"[\"苹果\"]","consignee":"速尔快递有限公司","consigneeCode":null,"consigneePhone":"15155556666","consigneeCarid":"","freightId":"depff953cd3db234f05b74f75746feda347","freightCode":"SR","freightName":"速尔快递有限公司","freightPhone":null,"forwarderPayType":1,"priority":0,"buckleGoods":0,"transit":0,"transitDeliver":0,"refrigerated":0,"precious":0,"living":0,"quick":0,"devanning":0,"toPay":0,"toPayFee":0,"currency":"","exchangeRate":"","customsSupervision":0,"transship":0,"transshipDestinationEnMixtureCn":null,"transitType":null,"originatingStation":"TYN","originatingStationCn":"太原","destinationStation":"CTU","destinationStationCn":"成都","route":"TYN-CTU","routeCn":"太原-成都","manifestTotal":12,"manifestWeight":12,"warehouseArea":null,"warehouseLocation":null,"putStorageTime":1594021593001,"putStorageUser":"u7b4c0e35127648e29ef3aaed649361cb","outStorageTime":null,"outStorageUser":null,"checkTime":1594021593001,"checkUser":"u7b4c0e35127648e29ef3aaed649361cb","tallyingTotal":12,"tallyingWeight":12,"waybillStatus":3,"waybillCodeScanUrl":null,"commodityScanUrl":null,"waybillScanUrl":null,"createTime":1594005842247,"createUser":"d9ea15d09fac45fb83f68e937d8c702c","updateTime":1594021593002,"updateUser":null,"updateUserName":null,"returnOutTransportFlag":-1,"delFlag":0,"ubnormalType":null,"ubnormalNum":null,"noticeNum":null,"amountOfMoney":0,"outboundNumber":0,"storageNumber":0,"flightAta":1593912180000,"flightSta":1593914100000,"defermentCharge":null,"overweightCharge":null,"nowAmountOfMoney":null,"searchStartTime":null,"searchEndTime":null,"searchParam":null,"pickUpGoodsUser":null,"pickUpGoodsUserPhone":null,"pickUpGoodsUserCardId":null,"targetReservoir":null,"source":2,"deliveryNotice":1,"pickUpStartTime":null,"pickUpEndTime":null,"overWeightCount":null,"overWeight":null,"transitRequestType":-1,"errorFlag":0,"remark":"","noticeFlag":0,"cfType":0,"cfStatus":0,"allArrivedFlag":1,"startTime":null,"endTime":null,"inBusinessPointCode":null,"cargos":[],"outNumber":null,"outWeight":null,"outVolume":null,"transshipDestination":null,"stray":0,"nullify":0,"smInventorySummaryList":null,"chargeTime":null,"inBilllingWeight":null,"calTime":null,"storageTypeName":"普货","storageType":"CTU_GARGO_STORAGE_TYPE_001"},"checkTime":null,"checkUser":null,"flightAta":null,"flightSta":null,"noticeRound":"0","forwarderPayType":0,"registerFlag":0,"noticeFlag":0,"noticeStatus":0,"storageDuration":null,"remark":"","checkEndDate":null,"dataSource":0,"overWeightList":[],"targetReservoir":null,"transship":0,"transshipDestination":null,"warehouseAreaDisplay":"托盘区","allArrivedFlag":1,"sortingDoCheck":1,"errorFlag":0,"cargoAvgWeight":0,"stray":0,"chargeableWeight":0,"aliveInform":0,"noAliveInform":0,"historyCargoInf":[],"surplusNumber":0,"surplusWeight":0},"errors":{"finishErrors":[],"updateErrors":[],"createErrors":[]}}
     * flag : null
     */
    private String status;
    private String message;
    private String rowCount;
    private DataBean data;
    private String flag;

    @Data
    public static class DataBean {
        /**
         * cargo : {"id":"57f50330ef61084c67a18e398e29a262","waybillCode":"112-57408164","indicator":"D","flightNo":"MU5233","flightInfoId":"36c1b92d8d1c4dd7a1f0a819c53d05af","flightId":14297038,"mailType":"C","documentDelivery":0,"totalNumber":12,"totalWeight":12,"specialCode":"AVI","commodityName":"苹果","consignee":"速尔快递有限公司","consigneePhone":null,"consigneeCarid":null,"freightId":null,"freightCode":null,"freightName":null,"freightPhone":null,"priority":0,"buckleGoods":0,"transit":0,"refrigerated":0,"precious":0,"living":0,"quick":0,"devanning":0,"originatingStation":null,"originatingStationCn":"太原","destinationStation":null,"destinationStationCn":null,"route":"太原-成都","manifestTotal":0,"allManifestTotal":0,"manifestWeight":0,"allManifestWeight":0,"warehouseArea":"602a525a9124f06a5c0841c04a104c5f","warehouseAreaType":"CTU_GARGO_STORAGE_TYPE_001","warehouseLocation":"0","putStorageTime":1594021592905,"putStorageUser":"u7b4c0e35127648e29ef3aaed649361cb","outStorageTime":null,"outStorageUser":null,"tallyingTotal":12,"allTallyingTotal":0,"tallyingWeight":12,"allTallyingWeight":0,"waybillStatus":0,"waybillCodeScanUrl":null,"commodityScanUrl":null,"waybillScanUrl":null,"createTime":1594019757160,"createUser":"u7b4c0e35127648e29ef3aaed649361cb","createUserName":"谢帅","updateTime":1594021592908,"updateUser":"u7b4c0e35127648e29ef3aaed649361cb","returnOutTransportFlag":0,"counterUbnormalGoodsList":[],"waybills":[],"amountOfMoney":0,"delFlag":0,"paWaybillId":"f2d9f6661e6112ea3e3e5ba4cff0ad60","masterWaybill":{"id":"f2d9f6661e6112ea3e3e5ba4cff0ad60","waybillCode":"112-57408164","indicator":"D","flightNo":"MU5233","flightInfoId":"36c1b92d8d1c4dd7a1f0a819c53d05af","flightId":14297038,"mailType":"C","documentDelivery":1,"totalNumber":12,"totalWeight":12,"chargeableWeight":12,"specialCode":"AVI","commodityName":"苹果","commodityIds":"[\"8183e094-f2d3-4625-b0ce-d3c97233d4cb\"]","commodityNameJson":"[\"苹果\"]","consignee":"速尔快递有限公司","consigneeCode":null,"consigneePhone":"15155556666","consigneeCarid":"","freightId":"depff953cd3db234f05b74f75746feda347","freightCode":"SR","freightName":"速尔快递有限公司","freightPhone":null,"forwarderPayType":1,"priority":0,"buckleGoods":0,"transit":0,"transitDeliver":0,"refrigerated":0,"precious":0,"living":0,"quick":0,"devanning":0,"toPay":0,"toPayFee":0,"currency":"","exchangeRate":"","customsSupervision":0,"transship":0,"transshipDestinationEnMixtureCn":null,"transitType":null,"originatingStation":"TYN","originatingStationCn":"太原","destinationStation":"CTU","destinationStationCn":"成都","route":"TYN-CTU","routeCn":"太原-成都","manifestTotal":12,"manifestWeight":12,"warehouseArea":null,"warehouseLocation":null,"putStorageTime":1594021593001,"putStorageUser":"u7b4c0e35127648e29ef3aaed649361cb","outStorageTime":null,"outStorageUser":null,"checkTime":1594021593001,"checkUser":"u7b4c0e35127648e29ef3aaed649361cb","tallyingTotal":12,"tallyingWeight":12,"waybillStatus":3,"waybillCodeScanUrl":null,"commodityScanUrl":null,"waybillScanUrl":null,"createTime":1594005842247,"createUser":"d9ea15d09fac45fb83f68e937d8c702c","updateTime":1594021593002,"updateUser":null,"updateUserName":null,"returnOutTransportFlag":-1,"delFlag":0,"ubnormalType":null,"ubnormalNum":null,"noticeNum":null,"amountOfMoney":0,"outboundNumber":0,"storageNumber":0,"flightAta":1593912180000,"flightSta":1593914100000,"defermentCharge":null,"overweightCharge":null,"nowAmountOfMoney":null,"searchStartTime":null,"searchEndTime":null,"searchParam":null,"pickUpGoodsUser":null,"pickUpGoodsUserPhone":null,"pickUpGoodsUserCardId":null,"targetReservoir":null,"source":2,"deliveryNotice":1,"pickUpStartTime":null,"pickUpEndTime":null,"overWeightCount":null,"overWeight":null,"transitRequestType":-1,"errorFlag":0,"remark":"","noticeFlag":0,"cfType":0,"cfStatus":0,"allArrivedFlag":1,"startTime":null,"endTime":null,"inBusinessPointCode":null,"cargos":[],"outNumber":null,"outWeight":null,"outVolume":null,"transshipDestination":null,"stray":0,"nullify":0,"smInventorySummaryList":null,"chargeTime":null,"inBilllingWeight":null,"calTime":null,"storageTypeName":"普货","storageType":"CTU_GARGO_STORAGE_TYPE_001"},"checkTime":null,"checkUser":null,"flightAta":null,"flightSta":null,"noticeRound":"0","forwarderPayType":0,"registerFlag":0,"noticeFlag":0,"noticeStatus":0,"storageDuration":null,"remark":"","checkEndDate":null,"dataSource":0,"overWeightList":[],"targetReservoir":null,"transship":0,"transshipDestination":null,"warehouseAreaDisplay":"托盘区","allArrivedFlag":1,"sortingDoCheck":1,"errorFlag":0,"cargoAvgWeight":0,"stray":0,"chargeableWeight":0,"aliveInform":0,"noAliveInform":0,"historyCargoInf":[],"surplusNumber":0,"surplusWeight":0}
         * errors : {"finishErrors":[],"updateErrors":[],"createErrors":[]}
         */
        private InWaybillRecordSubmitNewEntity.SingleLineBean cargo;
        private ErrorsBean errors;

        @Data
        public static class ErrorsBean {
            private List<String> finishErrors;
            private List<String> updateErrors;
            private List<String> createErrors;
        }
    }
}
